package com.guan.ordering_sys.generator.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.guan.ordering_sys.generator.entity.GoodsParameter;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  GoodsParameterMapper 接口
 * </p>
 *
 * @author 关远键
 * @version v1.0.2
 * @since 2021-06-18
 */
@Repository
public interface GoodsParameterMapper extends BaseMapper<GoodsParameter> {

    GoodsParameter getById(@Param("id") Long id);

    List<GoodsParameter> getByGoodsId(@Param("goodsId") Long goodsId);

}
